package net.cn_su.sharpeyes.beans;

import org.androidannotations.annotations.EBean;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Overlord on 2016/08/11.
 */
@JsonIgnoreProperties({"isPlaying"})
public class Camera {

    private int id;
    private String name = "渠南新村村委会门口";
    private String address = "渠南新村村委会门口";
    private boolean isPlaying = false;
    @JsonProperty("camera_id")
    private String cameraId = "00000000001310012827";


    public Camera() {
    }

    public Camera(String name) {

        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {

        return name;
    }

    public String getAddress() {
        return address;
    }

    public String getCameraId() {
        return cameraId;
    }

    public void setCameraId(String cameraId) {
        this.cameraId = cameraId;
    }

    public boolean isPlaying() {
        return isPlaying;
    }

    public void setPlaying(boolean playing) {
        isPlaying = playing;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
